Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add previewCallback to camera #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

SasaJug
Copy link

@SasaJug SasaJug commented May 11, 2018

Summary

If CameraManager's startCamera() is called after stopCamera() without reinitialization camera loses reference to previewCallback and onPreviewFrame is not called any more. This line fixes the problem.

*Change startPreview method of CameraManager - set previewCallback to camera.
@happy-nut
Copy link

@dlazaro66 When will this PR be applied?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants